home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / chat / ircii-2.8he / ircii-2 / help / commands < prev    next >
Encoding:
Text File  |  1993-05-04  |  2.0 KB  |  61 lines

  1. All IRCII commands typed on the command line must begin with one
  2. of the CMDCHAR settings (see SET CMDCHARS).  By default, this 
  3. is set to /.  Thus, any input line whose first character is a 
  4. / is treated as an IRCII command. For example:
  5.  
  6. /MSG BigCheese Howdy!
  7.  
  8. This executes the MSG command, which sends a private message to 
  9. "BigCheese", and that message is "Howdy!"
  10.  
  11. You can create aliases for commands or redefine what an existing
  12. command does.  This is done with the ALIAS command.  For example:
  13.  
  14. /ALIAS M /MSG 
  15.  
  16. NOTE: Command within aliases and other functions do not need the
  17.       CMDCHAR, and thus the above alias could be written as 
  18.       /ALIAS M MSG    as well.
  19.       The exception to this, is the // convention mentioned below.
  20.  
  21. This example creates a new command, M, which does the same thing
  22. as MSG, you can now do:
  23.  
  24. /M BigCheese Howdy!
  25.  
  26. and it will work exactly like MSG.  Suppose however you did this:
  27.  
  28. /ALIAS MSG //MSG BigCheese
  29.  
  30. Now, the MSG command will only send messages to BigCheese:
  31.  
  32. /MSG Howdy!
  33.  
  34. Note that in the alias, there are two / in front of MSG.  Putting
  35. two of the CMDCHAR in front of a command tells IRCII that you
  36. want to use the original command, and not any alias of it.
  37. Therefore, even if you had the above alias for MSG, you could
  38. still do the following:
  39.  
  40. //MSG Cheese I can still use the original MSG command.
  41.  
  42. Furthermore, if you wish you can turn off your display 
  43. (See SET DISPLAY) for the duration of a command.  This is
  44. done by putting a ^ character between the / and the command
  45. word.  For example, if you do:
  46.  
  47. /^MSG BigCheese Hello
  48.  
  49. You will not see any visible effect to this command (unless the
  50. nickname BigCheese does not currently exist).
  51.  
  52. Lastly, if you do the following:
  53.  
  54. / /this is a test
  55.  
  56. Note there is a space after the /.  This form forces the following
  57. text to be sent to your current channel no matter what.  You can
  58. thus send lines that begin with your CMDCHAR.  It can also
  59. be used to force a message to your current channel when you are
  60. using QUERY.
  61.